package cn.scau.server.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 代码不跑我先跑
 * @since 2025-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EmpPos对象", description="")
public class EmpPos implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "唯一标识每条员工与部门、职位、职称的关联记录")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关联员工表的员工编号，用于标识员工")
    private String empId;

    @ApiModelProperty(value = "关联部门表的部门编号，用于标识所属部门")
    private Integer deptId;

    @ApiModelProperty(value = "关联职位表的职位编号，用于标识员工职位")
    private Integer positionId;

    @ApiModelProperty(value = "是否是领导")
    private Integer isLeader;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }
}
